
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.CurePig;
import cn.edu.scau.cmi.hombio.domain.Employee;
import cn.edu.scau.cmi.hombio.domain.Except;
import cn.edu.scau.cmi.hombio.domain.ExceptionTypeEmployee;
import cn.edu.scau.cmi.hombio.domain.Feed;
import cn.edu.scau.cmi.hombio.domain.FodderStorage;
import cn.edu.scau.cmi.hombio.domain.FodderTake;
import cn.edu.scau.cmi.hombio.domain.Inspection;
import cn.edu.scau.cmi.hombio.domain.MedicineStorage;
import cn.edu.scau.cmi.hombio.domain.MedicineTake;
import cn.edu.scau.cmi.hombio.domain.Prevention;
import cn.edu.scau.cmi.hombio.domain.RoleEmployee;
import cn.edu.scau.cmi.hombio.domain.Sale;
import cn.edu.scau.cmi.hombio.domain.Task;
import cn.edu.scau.cmi.hombio.domain.TaskEmployee;
import cn.edu.scau.cmi.hombio.domain.TaskManage;

import java.util.List;
import java.util.Set;

import org.junit.Test;

import org.junit.runner.RunWith;

import org.springframework.beans.factory.annotation.Autowired;

import org.springframework.beans.factory.support.DefaultListableBeanFactory;

import org.springframework.context.ApplicationContext;

import org.springframework.mock.web.MockHttpServletRequest;

import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.TestExecutionListeners;

import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import org.springframework.test.context.support.DependencyInjectionTestExecutionListener;
import org.springframework.test.context.support.DirtiesContextTestExecutionListener;

import org.springframework.test.context.transaction.TransactionalTestExecutionListener;

import org.springframework.transaction.annotation.Transactional;

import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.RequestScope;
import org.springframework.web.context.request.ServletRequestAttributes;
import org.springframework.web.context.request.SessionScope;

/**
 * Class to run the service as a JUnit test. Each operation in the service is a separate test.
 *
 */

@RunWith(SpringJUnit4ClassRunner.class)
@TestExecutionListeners({
		DependencyInjectionTestExecutionListener.class,
		DirtiesContextTestExecutionListener.class,
		TransactionalTestExecutionListener.class })
@ContextConfiguration(locations = {
		"file:./resources/pigRs-security-context.xml",
		"file:./resources/pigRs-service-context.xml",
		"file:./resources/pigRs-dao-context.xml",
		"file:./resources/pigRs-web-context.xml" })
@Transactional
public class EmployeeServiceTest {

	/**
	 * The Spring application context.
	 *
	 */
	@SuppressWarnings("unused")
	private ApplicationContext context;

	/**
	 * The service being tested, injected by Spring.
	 *
	 */
	@Autowired
	protected EmployeeService service;

	/**
	 * Instantiates a new EmployeeServiceTest.
	 *
	 */
	public EmployeeServiceTest() {
		setupRequestContext();
	}

	/**
	 * Operation Unit Test
	* Save an existing Feed entity
	* 
	 */
	@Test
	public void saveEmployeeFeeds() {
		// TODO: JUnit - Populate test inputs for operation: saveEmployeeFeeds 
		Integer id = 0;
		Feed related_feeds = new cn.edu.scau.cmi.hombio.domain.Feed();
		Employee response = null;
		response = service.saveEmployeeFeeds(id, related_feeds);
		// TODO: JUnit - Add assertions to test outputs of operation: saveEmployeeFeeds
	}

	/**
	 * Operation Unit Test
	* Save an existing TaskManage entity
	* 
	 */
	@Test
	public void saveEmployeeTaskManages() {
		// TODO: JUnit - Populate test inputs for operation: saveEmployeeTaskManages 
		Integer id_1 = 0;
		TaskManage related_taskmanages = new cn.edu.scau.cmi.hombio.domain.TaskManage();
		Employee response = null;
		response = service.saveEmployeeTaskManages(id_1, related_taskmanages);
		// TODO: JUnit - Add assertions to test outputs of operation: saveEmployeeTaskManages
	}

	/**
	 * Operation Unit Test
	* Save an existing FodderTake entity
	* 
	 */
	@Test
	public void saveEmployeeFodderTakesForEmployeeId() {
		// TODO: JUnit - Populate test inputs for operation: saveEmployeeFodderTakesForEmployeeId 
		Integer id_2 = 0;
		FodderTake related_foddertakesforemployeeid = new cn.edu.scau.cmi.hombio.domain.FodderTake();
		Employee response = null;
		response = service.saveEmployeeFodderTakesForEmployeeId(id_2, related_foddertakesforemployeeid);
		// TODO: JUnit - Add assertions to test outputs of operation: saveEmployeeFodderTakesForEmployeeId
	}

	/**
	 * Operation Unit Test
	* Load an existing Employee entity
	* 
	 */
	@Test
	public void loadEmployees() {
		Set<Employee> response = null;
		response = service.loadEmployees();
		// TODO: JUnit - Add assertions to test outputs of operation: loadEmployees
	}

	/**
	 * Operation Unit Test
	* Save an existing Except entity
	* 
	 */
	@Test
	public void saveEmployeeExcepts() {
		// TODO: JUnit - Populate test inputs for operation: saveEmployeeExcepts 
		Integer id_3 = 0;
		Except related_excepts = new cn.edu.scau.cmi.hombio.domain.Except();
		Employee response = null;
		response = service.saveEmployeeExcepts(id_3, related_excepts);
		// TODO: JUnit - Add assertions to test outputs of operation: saveEmployeeExcepts
	}

	/**
	 * Operation Unit Test
	* Delete an existing CurePig entity
	* 
	 */
	@Test
	public void deleteEmployeeCurePigs() {
		// TODO: JUnit - Populate test inputs for operation: deleteEmployeeCurePigs 
		Integer employee_id = 0;
		Integer related_curepigs_id = 0;
		Employee response = null;
		response = service.deleteEmployeeCurePigs(employee_id, related_curepigs_id);
		// TODO: JUnit - Add assertions to test outputs of operation: deleteEmployeeCurePigs
	}

	/**
	 * Operation Unit Test
	* Delete an existing Except entity
	* 
	 */
	@Test
	public void deleteEmployeeExcepts() {
		// TODO: JUnit - Populate test inputs for operation: deleteEmployeeExcepts 
		Integer employee_id_1 = 0;
		Integer related_excepts_id = 0;
		Employee response = null;
		response = service.deleteEmployeeExcepts(employee_id_1, related_excepts_id);
		// TODO: JUnit - Add assertions to test outputs of operation: deleteEmployeeExcepts
	}

	/**
	 * Operation Unit Test
	* Save an existing TaskEmployee entity
	* 
	 */
	@Test
	public void saveEmployeeTaskEmployees() {
		// TODO: JUnit - Populate test inputs for operation: saveEmployeeTaskEmployees 
		Integer id_4 = 0;
		TaskEmployee related_taskemployees = new cn.edu.scau.cmi.hombio.domain.TaskEmployee();
		Employee response = null;
		response = service.saveEmployeeTaskEmployees(id_4, related_taskemployees);
		// TODO: JUnit - Add assertions to test outputs of operation: saveEmployeeTaskEmployees
	}

	/**
	 * Operation Unit Test
	* Save an existing CurePig entity
	* 
	 */
	@Test
	public void saveEmployeeCurePigs() {
		// TODO: JUnit - Populate test inputs for operation: saveEmployeeCurePigs 
		Integer id_5 = 0;
		CurePig related_curepigs = new cn.edu.scau.cmi.hombio.domain.CurePig();
		Employee response = null;
		response = service.saveEmployeeCurePigs(id_5, related_curepigs);
		// TODO: JUnit - Add assertions to test outputs of operation: saveEmployeeCurePigs
	}

	/**
	 * Operation Unit Test
	* Delete an existing FodderTake entity
	* 
	 */
	@Test
	public void deleteEmployeeFodderTakesForWarehousekepperId() {
		// TODO: JUnit - Populate test inputs for operation: deleteEmployeeFodderTakesForWarehousekepperId 
		Integer employee_id_2 = 0;
		Integer related_foddertakesforwarehousekepperid_id = 0;
		Employee response = null;
		response = service.deleteEmployeeFodderTakesForWarehousekepperId(employee_id_2, related_foddertakesforwarehousekepperid_id);
		// TODO: JUnit - Add assertions to test outputs of operation: deleteEmployeeFodderTakesForWarehousekepperId
	}

	/**
	 * Operation Unit Test
	* Delete an existing ExceptionTypeEmployee entity
	* 
	 */
	@Test
	public void deleteEmployeeExceptionTypeEmployees() {
		// TODO: JUnit - Populate test inputs for operation: deleteEmployeeExceptionTypeEmployees 
		Integer employee_id_3 = 0;
		Integer related_exceptiontypeemployees_id = 0;
		Employee response = null;
		response = service.deleteEmployeeExceptionTypeEmployees(employee_id_3, related_exceptiontypeemployees_id);
		// TODO: JUnit - Add assertions to test outputs of operation: deleteEmployeeExceptionTypeEmployees
	}

	/**
	 * Operation Unit Test
	 */
	@Test
	public void findEmployeeByPrimaryKey() {
		// TODO: JUnit - Populate test inputs for operation: findEmployeeByPrimaryKey 
		Integer id_6 = 0;
		Employee response = null;
		response = service.findEmployeeByPrimaryKey(id_6);
		// TODO: JUnit - Add assertions to test outputs of operation: findEmployeeByPrimaryKey
	}

	/**
	 * Operation Unit Test
	* Save an existing MedicineStorage entity
	* 
	 */
	@Test
	public void saveEmployeeMedicineStorages() {
		// TODO: JUnit - Populate test inputs for operation: saveEmployeeMedicineStorages 
		Integer id_7 = 0;
		MedicineStorage related_medicinestorages = new cn.edu.scau.cmi.hombio.domain.MedicineStorage();
		Employee response = null;
		response = service.saveEmployeeMedicineStorages(id_7, related_medicinestorages);
		// TODO: JUnit - Add assertions to test outputs of operation: saveEmployeeMedicineStorages
	}

	/**
	 * Operation Unit Test
	* Delete an existing Prevention entity
	* 
	 */
	@Test
	public void deleteEmployeePreventions() {
		// TODO: JUnit - Populate test inputs for operation: deleteEmployeePreventions 
		Integer employee_id_4 = 0;
		Integer related_preventions_id = 0;
		Employee response = null;
		response = service.deleteEmployeePreventions(employee_id_4, related_preventions_id);
		// TODO: JUnit - Add assertions to test outputs of operation: deleteEmployeePreventions
	}

	/**
	 * Operation Unit Test
	* Delete an existing MedicineTake entity
	* 
	 */
	@Test
	public void deleteEmployeeMedicineTakesForPharmacistId() {
		// TODO: JUnit - Populate test inputs for operation: deleteEmployeeMedicineTakesForPharmacistId 
		Integer employee_id_5 = 0;
		Integer related_medicinetakesforpharmacistid_id = 0;
		Employee response = null;
		response = service.deleteEmployeeMedicineTakesForPharmacistId(employee_id_5, related_medicinetakesforpharmacistid_id);
		// TODO: JUnit - Add assertions to test outputs of operation: deleteEmployeeMedicineTakesForPharmacistId
	}

	/**
	 * Operation Unit Test
	* Save an existing MedicineTake entity
	* 
	 */
	@Test
	public void saveEmployeeMedicineTakesForTakerId() {
		// TODO: JUnit - Populate test inputs for operation: saveEmployeeMedicineTakesForTakerId 
		Integer id_8 = 0;
		MedicineTake related_medicinetakesfortakerid = new cn.edu.scau.cmi.hombio.domain.MedicineTake();
		Employee response = null;
		response = service.saveEmployeeMedicineTakesForTakerId(id_8, related_medicinetakesfortakerid);
		// TODO: JUnit - Add assertions to test outputs of operation: saveEmployeeMedicineTakesForTakerId
	}

	/**
	 * Operation Unit Test
	* Save an existing ExceptionTypeEmployee entity
	* 
	 */
	@Test
	public void saveEmployeeExceptionTypeEmployees() {
		// TODO: JUnit - Populate test inputs for operation: saveEmployeeExceptionTypeEmployees 
		Integer id_9 = 0;
		ExceptionTypeEmployee related_exceptiontypeemployees = new cn.edu.scau.cmi.hombio.domain.ExceptionTypeEmployee();
		Employee response = null;
		response = service.saveEmployeeExceptionTypeEmployees(id_9, related_exceptiontypeemployees);
		// TODO: JUnit - Add assertions to test outputs of operation: saveEmployeeExceptionTypeEmployees
	}

	/**
	 * Operation Unit Test
	* Save an existing Employee entity
	* 
	 */
	@Test
	public void saveEmployee() {
		// TODO: JUnit - Populate test inputs for operation: saveEmployee 
		Employee employee = new cn.edu.scau.cmi.hombio.domain.Employee();
		service.saveEmployee(employee);
	}

	/**
	 * Operation Unit Test
	* Delete an existing Sale entity
	* 
	 */
	@Test
	public void deleteEmployeeSales() {
		// TODO: JUnit - Populate test inputs for operation: deleteEmployeeSales 
		Integer employee_id_6 = 0;
		Integer related_sales_id = 0;
		Employee response = null;
		response = service.deleteEmployeeSales(employee_id_6, related_sales_id);
		// TODO: JUnit - Add assertions to test outputs of operation: deleteEmployeeSales
	}

	/**
	 * Operation Unit Test
	* Save an existing Inspection entity
	* 
	 */
	@Test
	public void saveEmployeeInspections() {
		// TODO: JUnit - Populate test inputs for operation: saveEmployeeInspections 
		Integer id_10 = 0;
		Inspection related_inspections = new cn.edu.scau.cmi.hombio.domain.Inspection();
		Employee response = null;
		response = service.saveEmployeeInspections(id_10, related_inspections);
		// TODO: JUnit - Add assertions to test outputs of operation: saveEmployeeInspections
	}

	/**
	 * Operation Unit Test
	* Delete an existing TaskEmployee entity
	* 
	 */
	@Test
	public void deleteEmployeeTaskEmployees() {
		// TODO: JUnit - Populate test inputs for operation: deleteEmployeeTaskEmployees 
		Integer employee_id_7 = 0;
		Integer related_taskemployees_id = 0;
		Employee response = null;
		response = service.deleteEmployeeTaskEmployees(employee_id_7, related_taskemployees_id);
		// TODO: JUnit - Add assertions to test outputs of operation: deleteEmployeeTaskEmployees
	}

	/**
	 * Operation Unit Test
	* Delete an existing TaskManage entity
	* 
	 */
	@Test
	public void deleteEmployeeTaskManages() {
		// TODO: JUnit - Populate test inputs for operation: deleteEmployeeTaskManages 
		Integer employee_id_8 = 0;
		Integer related_taskmanages_id = 0;
		Employee response = null;
		response = service.deleteEmployeeTaskManages(employee_id_8, related_taskmanages_id);
		// TODO: JUnit - Add assertions to test outputs of operation: deleteEmployeeTaskManages
	}

	/**
	 * Operation Unit Test
	* Delete an existing Task entity
	* 
	 */
	@Test
	public void deleteEmployeeTasks() {
		// TODO: JUnit - Populate test inputs for operation: deleteEmployeeTasks 
		Integer employee_id_9 = 0;
		Integer related_tasks_id = 0;
		Employee response = null;
		response = service.deleteEmployeeTasks(employee_id_9, related_tasks_id);
		// TODO: JUnit - Add assertions to test outputs of operation: deleteEmployeeTasks
	}

	/**
	 * Operation Unit Test
	* Delete an existing RoleEmployee entity
	* 
	 */
	@Test
	public void deleteEmployeeRoleEmployees() {
		// TODO: JUnit - Populate test inputs for operation: deleteEmployeeRoleEmployees 
		Integer employee_id_10 = 0;
		Integer related_roleemployees_id = 0;
		Employee response = null;
		response = service.deleteEmployeeRoleEmployees(employee_id_10, related_roleemployees_id);
		// TODO: JUnit - Add assertions to test outputs of operation: deleteEmployeeRoleEmployees
	}

	/**
	 * Operation Unit Test
	* Delete an existing Feed entity
	* 
	 */
	@Test
	public void deleteEmployeeFeeds() {
		// TODO: JUnit - Populate test inputs for operation: deleteEmployeeFeeds 
		Integer employee_id_11 = 0;
		Integer related_feeds_id = 0;
		Employee response = null;
		response = service.deleteEmployeeFeeds(employee_id_11, related_feeds_id);
		// TODO: JUnit - Add assertions to test outputs of operation: deleteEmployeeFeeds
	}

	/**
	 * Operation Unit Test
	* Delete an existing FodderStorage entity
	* 
	 */
	@Test
	public void deleteEmployeeFodderStorages() {
		// TODO: JUnit - Populate test inputs for operation: deleteEmployeeFodderStorages 
		Integer employee_id_12 = 0;
		Integer related_fodderstorages_id = 0;
		Employee response = null;
		response = service.deleteEmployeeFodderStorages(employee_id_12, related_fodderstorages_id);
		// TODO: JUnit - Add assertions to test outputs of operation: deleteEmployeeFodderStorages
	}

	/**
	 * Operation Unit Test
	* Save an existing Task entity
	* 
	 */
	@Test
	public void saveEmployeeTasks() {
		// TODO: JUnit - Populate test inputs for operation: saveEmployeeTasks 
		Integer id_11 = 0;
		Task related_tasks = new cn.edu.scau.cmi.hombio.domain.Task();
		Employee response = null;
		response = service.saveEmployeeTasks(id_11, related_tasks);
		// TODO: JUnit - Add assertions to test outputs of operation: saveEmployeeTasks
	}

	/**
	 * Operation Unit Test
	* Save an existing Prevention entity
	* 
	 */
	@Test
	public void saveEmployeePreventions() {
		// TODO: JUnit - Populate test inputs for operation: saveEmployeePreventions 
		Integer id_12 = 0;
		Prevention related_preventions = new cn.edu.scau.cmi.hombio.domain.Prevention();
		Employee response = null;
		response = service.saveEmployeePreventions(id_12, related_preventions);
		// TODO: JUnit - Add assertions to test outputs of operation: saveEmployeePreventions
	}

	/**
	 * Operation Unit Test
	* Return a count of all Employee entity
	* 
	 */
	@Test
	public void countEmployees() {
		Integer response = null;
		response = service.countEmployees();
		// TODO: JUnit - Add assertions to test outputs of operation: countEmployees
	}

	/**
	 * Operation Unit Test
	* Save an existing FodderStorage entity
	* 
	 */
	@Test
	public void saveEmployeeFodderStorages() {
		// TODO: JUnit - Populate test inputs for operation: saveEmployeeFodderStorages 
		Integer id_13 = 0;
		FodderStorage related_fodderstorages = new cn.edu.scau.cmi.hombio.domain.FodderStorage();
		Employee response = null;
		response = service.saveEmployeeFodderStorages(id_13, related_fodderstorages);
		// TODO: JUnit - Add assertions to test outputs of operation: saveEmployeeFodderStorages
	}

	/**
	 * Operation Unit Test
	* Return all Employee entity
	* 
	 */
	@Test
	public void findAllEmployees() {
		// TODO: JUnit - Populate test inputs for operation: findAllEmployees 
		Integer startResult = 0;
		Integer maxRows = 0;
		List<Employee> response = null;
		response = service.findAllEmployees(startResult, maxRows);
		// TODO: JUnit - Add assertions to test outputs of operation: findAllEmployees
	}

	/**
	 * Operation Unit Test
	* Delete an existing Inspection entity
	* 
	 */
	@Test
	public void deleteEmployeeInspections() {
		// TODO: JUnit - Populate test inputs for operation: deleteEmployeeInspections 
		Integer employee_id_13 = 0;
		Integer related_inspections_id = 0;
		Employee response = null;
		response = service.deleteEmployeeInspections(employee_id_13, related_inspections_id);
		// TODO: JUnit - Add assertions to test outputs of operation: deleteEmployeeInspections
	}

	/**
	 * Operation Unit Test
	* Save an existing Sale entity
	* 
	 */
	@Test
	public void saveEmployeeSales() {
		// TODO: JUnit - Populate test inputs for operation: saveEmployeeSales 
		Integer id_14 = 0;
		Sale related_sales = new cn.edu.scau.cmi.hombio.domain.Sale();
		Employee response = null;
		response = service.saveEmployeeSales(id_14, related_sales);
		// TODO: JUnit - Add assertions to test outputs of operation: saveEmployeeSales
	}

	/**
	 * Operation Unit Test
	* Save an existing RoleEmployee entity
	* 
	 */
	@Test
	public void saveEmployeeRoleEmployees() {
		// TODO: JUnit - Populate test inputs for operation: saveEmployeeRoleEmployees 
		Integer id_15 = 0;
		RoleEmployee related_roleemployees = new cn.edu.scau.cmi.hombio.domain.RoleEmployee();
		Employee response = null;
		response = service.saveEmployeeRoleEmployees(id_15, related_roleemployees);
		// TODO: JUnit - Add assertions to test outputs of operation: saveEmployeeRoleEmployees
	}

	/**
	 * Operation Unit Test
	* Delete an existing MedicineStorage entity
	* 
	 */
	@Test
	public void deleteEmployeeMedicineStorages() {
		// TODO: JUnit - Populate test inputs for operation: deleteEmployeeMedicineStorages 
		Integer employee_id_14 = 0;
		Integer related_medicinestorages_id = 0;
		Employee response = null;
		response = service.deleteEmployeeMedicineStorages(employee_id_14, related_medicinestorages_id);
		// TODO: JUnit - Add assertions to test outputs of operation: deleteEmployeeMedicineStorages
	}

	/**
	 * Operation Unit Test
	* Save an existing MedicineTake entity
	* 
	 */
	@Test
	public void saveEmployeeMedicineTakesForPharmacistId() {
		// TODO: JUnit - Populate test inputs for operation: saveEmployeeMedicineTakesForPharmacistId 
		Integer id_16 = 0;
		MedicineTake related_medicinetakesforpharmacistid = new cn.edu.scau.cmi.hombio.domain.MedicineTake();
		Employee response = null;
		response = service.saveEmployeeMedicineTakesForPharmacistId(id_16, related_medicinetakesforpharmacistid);
		// TODO: JUnit - Add assertions to test outputs of operation: saveEmployeeMedicineTakesForPharmacistId
	}

	/**
	 * Operation Unit Test
	* Delete an existing FodderTake entity
	* 
	 */
	@Test
	public void deleteEmployeeFodderTakesForEmployeeId() {
		// TODO: JUnit - Populate test inputs for operation: deleteEmployeeFodderTakesForEmployeeId 
		Integer employee_id_15 = 0;
		Integer related_foddertakesforemployeeid_id = 0;
		Employee response = null;
		response = service.deleteEmployeeFodderTakesForEmployeeId(employee_id_15, related_foddertakesforemployeeid_id);
		// TODO: JUnit - Add assertions to test outputs of operation: deleteEmployeeFodderTakesForEmployeeId
	}

	/**
	 * Operation Unit Test
	* Delete an existing Employee entity
	* 
	 */
	@Test
	public void deleteEmployee() {
		// TODO: JUnit - Populate test inputs for operation: deleteEmployee 
		Employee employee_1 = new cn.edu.scau.cmi.hombio.domain.Employee();
		service.deleteEmployee(employee_1);
	}

	/**
	 * Operation Unit Test
	* Save an existing FodderTake entity
	* 
	 */
	@Test
	public void saveEmployeeFodderTakesForWarehousekepperId() {
		// TODO: JUnit - Populate test inputs for operation: saveEmployeeFodderTakesForWarehousekepperId 
		Integer id_17 = 0;
		FodderTake related_foddertakesforwarehousekepperid = new cn.edu.scau.cmi.hombio.domain.FodderTake();
		Employee response = null;
		response = service.saveEmployeeFodderTakesForWarehousekepperId(id_17, related_foddertakesforwarehousekepperid);
		// TODO: JUnit - Add assertions to test outputs of operation: saveEmployeeFodderTakesForWarehousekepperId
	}

	/**
	 * Operation Unit Test
	* Delete an existing MedicineTake entity
	* 
	 */
	@Test
	public void deleteEmployeeMedicineTakesForTakerId() {
		// TODO: JUnit - Populate test inputs for operation: deleteEmployeeMedicineTakesForTakerId 
		Integer employee_id_16 = 0;
		Integer related_medicinetakesfortakerid_id = 0;
		Employee response = null;
		response = service.deleteEmployeeMedicineTakesForTakerId(employee_id_16, related_medicinetakesfortakerid_id);
		// TODO: JUnit - Add assertions to test outputs of operation: deleteEmployeeMedicineTakesForTakerId
	}

	/**
	 * Autowired to set the Spring application context.
	 *
	 */
	@Autowired
	public void setContext(ApplicationContext context) {
		this.context = context;
		((DefaultListableBeanFactory) context.getAutowireCapableBeanFactory()).registerScope("session", new SessionScope());
		((DefaultListableBeanFactory) context.getAutowireCapableBeanFactory()).registerScope("request", new RequestScope());
	}

	/**
	 * Sets Up the Request context
	 *
	 */
	private void setupRequestContext() {
		MockHttpServletRequest request = new MockHttpServletRequest();
		ServletRequestAttributes attributes = new ServletRequestAttributes(request);
		RequestContextHolder.setRequestAttributes(attributes);
	}
}
